<template>
	<div>
		<div class="order-line border" :class="{margin: margin}">
			<span class="fl">报修人姓名</span>
			<span class="fr">{{user.name}}</span>
		</div>
		<div class="order-line">
			<span class="fl">报修人手机</span>
			<span class="fr">
				{{user.phone}}
				<a :href="'tel:'+user.phone" class="call"></a>
			</span>
		</div>
	</div>
</template>
<script>
	export default{
		name: 'UserInfo',
		props: ['user','phoneIcon', 'margin']
	}
</script>